[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SETCHR

  .  Summary

  setchr(str <buf>, int <pos>, int <c>);

  .  Description

  The setchr function puts the character <c> at position <pos> in the
  string indicated by <buf>.

  .  Return Value

  The character <c> is returned.

  .  Example

  int i;
  str s[100];
  for (i = 0; i < 10; ++i)     // set first 10 characters to 'A'
   setchr(s, i, 'A');

See Also: setchrs subchr ASCII table
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson